package com.tchhy.provider.data.healthy.response

/**
 * Created by admin on 2020-01-13
 */
data class OrderLisrRes(
    var endRow: String,
    var hasNextPage: Boolean,
    var hasPreviousPage: Boolean,
    var isFirstPage: Boolean,
    var isLastPage: Boolean,
    var navigateFirstPage: String,
    var navigateLastPage: String,
    var navigatePages: String,
    var nextPage: String,
    var pageNum: String,
    var pageSize: String,
    var pages: String,
    var prePage: String,
    var size: String,
    var startRow: String,
    var total: Int,
    var list: List<Data>,
    var navigatepageNums: List<String>
) {
    data class Data(
        var isDelete:Boolean = false,
        var address: String,
        var areaId: String,
        var category: String,
        var channel: String,
        var cityId: String,
        var colAccount: String,
        var createId: String,
        var createIdentity: String,
        var createName: String,
        var createTime: String,
        var decreaseAmount: String,
        var deliveryTime: String,
        var familyId: String,
        var freightAmount: Float,
        var freightTemplate: String,
        var giveId: String,
        var giveIdentity: String,
        var isGuardian: Boolean,
        var medicineChestNum: String,
        var orderNum: String,
        var orderTypeCode: String,
        var orderTypeEnum: String,
        var parentId: String,
        var partenerName: String,
        var payAmount: String,
        var payChannel: String,
        var payChannelName: String,
        var payId: String,
        var payMethod: String,
        var recipieTime: String,
        var refundAmount: String,
        var refundChannel: String,
        var refundImg: String,
        var serialNumber: String,
        var status: String,
        var statusName: String,
        var thirdpartyNum: String,
        var totalAmount: String,
        var type: String,
        var userName: String,
        var userTel: String,
        var items: List<Items>
    ) {
        data class Items(
            var commodityId: String,
            var id: String,
            var imgUrl: String,
            var medicineChestNum: String,
            var number: String,
            var orderId: String,
            var price: Float,
            var productName: String,
            var salesName: String,
            var totalAmount: String,
            var type: String
        )
    }
}